//
//  KYPlaceModel.m
//  kuaiyi
//
//  Created by 杨亮 on 16/3/11.
//  Copyright © 2016年 kuaiyi. All rights reserved.
//

#import "KYPlaceModel.h"
#import <MJExtension.h>

@implementation KYPlaceModel
+(NSArray *)getPlaceModel{
    NSString *path = [[NSBundle mainBundle]pathForResource:@"provinces.plist" ofType:nil];
    NSArray *array = [NSArray arrayWithContentsOfFile:path];
    NSMutableArray *tempArray = [NSMutableArray array];
    for (NSDictionary *dict in array) {
        KYPlaceModel *placeModel = [KYPlaceModel mj_objectWithKeyValues:dict];
        [tempArray addObject:placeModel];
    }
    return tempArray.copy;
}
@end
